package ModelLayer;

public class Discount
{
	private int discountID;
	private String discountType;
	private double discountPrice;
	
	public Discount()
	{
		
	}
	
	public Discount(int discountID)
	{
		this.setDiscountID(discountID);
	}
	
	public Discount(String discountType,double discountPrice)
	{
		this.discountType = discountType;
		this.discountPrice = discountPrice;
	}
	
	public void setDiscountType(String newDiscountType)
	{
		discountType = newDiscountType;
	}
	public void setDiscountPrice(String newDiscountPrice)
	{
		discountType = newDiscountPrice;
	}
	public void setDiscountID(int newDiscountID) 
	{
		this.discountID = newDiscountID;
	}
	
	public String getDiscountType()
	{
		return discountType;
	}
	public double getDiscountPrice()
	{
		return discountPrice;
	}
	public int getDiscountID() 
	{
		return discountID;
	}
}
